import {
  createStore,
  combineReducers
} from 'redux'
import reducer from './reducers/ApiReducer'
// combineReducers 合并多个reducer，这样的好处是每个页面都有对应的状态目录
const reducers = combineReducers({
  reducer
})

export default createStore(reducers)